package com.lg.umeng_share;

import android.content.Context;

import com.umeng.socialize.PlatformConfig;
import com.umeng.socialize.UMShareAPI;
import com.umeng.socialize.UMShareConfig;

/**
 * Created by ligang on 2017/9/19.
 * description：
 */

public class ShareConfig {
    public static void init(Context context){
        UMShareConfig config = new UMShareConfig();
        config.isNeedAuthOnGetUserInfo(true);
        UMShareAPI.get(context).setShareConfig(config);
        PlatformConfig.setWeixin("wx28b1512c353bdbb0", "ff860e283d82aa788fe08a6a1410b980");
        PlatformConfig.setQQZone("1106152591","zkvcwjvuKGhuIIjd");
        PlatformConfig.setSinaWeibo("3596693254","37a8c09a094eb7fa20c6867f9e130587","http://sns.whalecloud.com");
    }
}
